dict1 = {
    "name": "错误"
}

# 只取第一个key的值
print(dict1[next(iter(dict1))])
